package com.learn.project2.mapper;

import com.learn.project2.bean.NewMarketRolePermissionSon;
import com.learn.project2.bean.NewMarketRolePermissionSonExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface NewMarketRolePermissionSonMapper {
    long countByExample(NewMarketRolePermissionSonExample example);

    int deleteByExample(NewMarketRolePermissionSonExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(NewMarketRolePermissionSon record);

    int insertSelective(NewMarketRolePermissionSon record);

    List<NewMarketRolePermissionSon> selectByExample(NewMarketRolePermissionSonExample example);

    NewMarketRolePermissionSon selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") NewMarketRolePermissionSon record, @Param("example") NewMarketRolePermissionSonExample example);

    int updateByExample(@Param("record") NewMarketRolePermissionSon record, @Param("example") NewMarketRolePermissionSonExample example);

    int updateByPrimaryKeySelective(NewMarketRolePermissionSon record);

    int updateByPrimaryKey(NewMarketRolePermissionSon record);
}